class test1 extends uvm_test;
	ori_env env;
	`uvm_component_utils(test1)

	function new(string name, uvm_component parent);
		super.new(name, parent);
	endfunction

	virtual function void build_phase();
		super.build_phase();
		uvm_factory::override_type("ori_env", "sub_env");
		env = ori_env::type_id::create("env", this);
	endfunction
endclass
